<div class="main-content">
    <div class="container">
        <div class="row">
            <div class="col-sm-12">
                <ol class="breadcrumb">
                    <li>
                        <i class="clip-file"></i>
                        <a href="#">
                            Logística
                        </a>
                    </li>
                    <li class="active">
                        Almacén
                    </li>					
                </ol>
                <div class="page-header">
                    <h1>Nota de Pedido <small>Formulario</small></h1>
                </div>
            </div>
        </div>
        <div class="row">
            <div class="col-md-12">
                <!-- start: DYNAMIC TABLE PANEL -->
                <div class="panel panel-default">
                    <div class="panel-heading">
                        <i class="icon-external-link-sign"></i>
                        Productos
                        <div class="panel-tools">
                            <a class="btn btn-xs btn-link panel-collapse collapses" href="#">
                            </a>
                            <a class="btn btn-xs btn-link panel-config" href="#panel-config" data-toggle="modal">
                                <i class="icon-wrench"></i>
                            </a>
                            <a class="btn btn-xs btn-link panel-refresh" href="#">
                                <i class="icon-refresh"></i>
                            </a>
                            <a class="btn btn-xs btn-link panel-expand" href="#">
                                <i class="icon-resize-full"></i>
                            </a>
                            <!--<a class="btn btn-xs btn-link panel-close" href="#">
                                <i class="icon-remove"></i>
                            </a> -->
                        </div>
                    </div>
                    <div class="panel-body">
                        <div class="row">
                            <!-- start: TEXT FIELDS PANEL -->
                            <div class="panel-body">
                                <div class="alert" id="mensaje" style="display: none;"></div>
                                <form action="<?=base_url("logistica/tablasmaestra/registrarProveedor"); ?>" method="post" role="form" class="form-horizontal">
                                    <div class="row">
                                        <div class="col-md-12">
                                            <div class="form-group">
                                                <label class="col-sm-1 control-label" for="frmProveedor">Proveedor</label>
                                                <div class="col-sm-11">
                                                    <input type="hidden" name="tipo" value="nojson">
                                                    <input type="hidden" id="idProv" name="idProv" value="<?=set_value('idProv', $this->form_data->id); ?>" class="form-control">
                                                    <span class="input-icon">                                                
                                                        <input type="text" id="frmProveedor" name="proveedor" value="<?=set_value('frmProveedor', $this->form_data->nom_pro); ?>" class="form-control">
                                                        <i class="icon-user"></i>
                                                    </span>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="row">
                                        <div class="col-md-12">
                                            <div class="form-group">
                                                <label class="col-sm-1 control-label" for="direccion">Dirección</label>
                                                <div class="col-sm-11">
                                                    <span class="input-icon">
                                                        <input type="text" id="direccion" name="dir" value="<?=set_value('direccion', $this->form_data->dir); ?>" class="form-control">
                                                        <i class="icon-hand-right"></i>
                                                    </span>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="row">
                                        <div class="col-md-6">
                                            <div class="form-group">
                                                <label class="col-sm-2 control-label" for="frmRuc">RUC</label>
                                                <div class="col-sm-8">
                                                    <span class="input-icon">
                                                        <input type="text" id="frmRuc" name="ruc" value="<?=set_value('frmRuc', $this->form_data->ruc); ?>" class="form-control limited" maxlength="11">
                                                        <i class="icon-hand-right"></i>
                                                    </span>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="col-md-6">
                                            <div class="form-group">
                                                <label class="col-sm-4 control-label" for="telefono">Teléfono</label>
                                                <div class="col-sm-8">
                                                    <span class="input-icon">
                                                        <input type="text" id="telefono" name="tel" value="<?=set_value('telefono', $this->form_data->tel); ?>" class="form-control">
                                                        <i class="icon-phone"></i>
                                                    </span>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="row">
                                        <div class="col-md-12">
                                            <div class="form-group">
                                                <label class="col-sm-1 control-label" for="email">Email</label>
                                                <div class="col-sm-11">
                                                    <span class="input-icon">
                                                        <input type="text" id="email" name="email" value="<?=set_value('email', $this->form_data->email); ?>" class="form-control">
                                                        <i class="icon-envelope"></i>
                                                    </span>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                    <hr>
                                    <div class="row">
                                        <div class="col-md-4"></div>
                                        <div class="col-md-2">
                                            <button class="btn btn-primary btn-block" type="submit">
                                                <i class="icon-save"></i>
                                                Guardar                                        
                                            </button>
                                        </div>
                                        <div class="col-md-2">
                                            <button class="btn btn-danger btn-block" type="reset">
                                                <i class="icon-save"></i>
                                                Cancelar                                        
                                            </button>
                                        </div>
                                        <div class="col-md-4"></div>
                                    </div>
                                </form>
                            </div>
                            <!-- end: TEXT FIELDS PANEL -->
                        </div>
                    </div>
                </div>
                <!-- end: DYNAMIC TABLE PANEL -->
            </div>
        </div>
    </div>    
</div>
